home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / security / xinetd / sio.1.5.6 / Config / ultrix4.1-config.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-12-09  |  2.3 KB  |  85 lines

  1. /*
  2.  * (c) Copyright 1992 by Panagiotis Tsirigotis
  3.  * All rights reserved.  The file named COPYRIGHT specifies the terms 
  4.  * and conditions for redistribution.
  5.  */
  6.  
  7. /*
  8.  * $Id: ultrix4.1-config.h,v 7.3 1992/06/22 20:23:18 panos Exp $
  9.  */
  10.  
  11. /*
  12.  * NOTE: ALL BINARY FLAGS MUST BE EITHER define'd OR undef'ed.
  13.  *           DO NOT SKIP FLAGS; undef THEM
  14.  */
  15.  
  16.  
  17. /************************ MEMORY MAPPING ****************************/
  18.  
  19. /*
  20.  * Either define or undef MEMORY_MAP
  21.  * If you define it, you must also define the memory mapping interface
  22.  * functions: SIO_MMAP, SIO_MUNMAP, SIO_MNEED
  23.  * SIO_MNEED is not necessary; if your OS does not support it
  24.  * define it to nothing.
  25.  */ 
  26. #undef MEMORY_MAP
  27.  
  28. /************************ FINALIZATION CODE ****************************/
  29.  
  30. /*
  31.  * Either define or undef HAS_FINALIZATION
  32.  * If you define it, you must define the macros SIO_FINALIZE 
  33.  * and SIO_DEFINE_FIN
  34.  * SIO_FINALIZE has a function as an argument and its value
  35.  * is an expression whose value is TRUE if the finalization function
  36.  * was successfully installed
  37.  * SIO_DEFINE_FIN has a function as an argument and created an
  38.  * appropriate function definition.
  39.  */
  40. #define HAS_FINALIZATION_FUNCTION
  41. #define SIO_FINALIZE( func )            ( atexit( func ) == 0 )
  42. #define SIO_DEFINE_FIN( func )        static void func ()
  43.  
  44.  
  45. /************************ GENERAL CONSTANTS ****************************/
  46.  
  47. /*
  48.  * Define at most 1 of the following two flags
  49.  */
  50. #define HAS_MEMOPS
  51. #undef HAS_BCOPY
  52.  
  53. /*
  54.  * Define HAS_ISATTY if the function isatty( fd ) exists in the C library
  55.  */
  56. #define HAS_ISATTY
  57.  
  58. /*
  59.  * N_SIO_DESCRIPTORS is the maximum number of file descriptors
  60.  * supported by the OS
  61.  */
  62. #include <sys/param.h>
  63. #define N_SIO_DESCRIPTORS            NOFILE
  64.  
  65. /************************ SPRINT CONSTANTS ****************************/
  66.  
  67. /*
  68.  * SMALLEST_INT:     smallest integer the machine can represent
  69.  * S_SMALLEST_INT:   the smallest integer as a string
  70.  * S_SMALLEST_INT_LEN: length of string containing smallest integer
  71.  *
  72.  * These constants depend on the word size of the CPU and the
  73.  * type of arithmetic (1's or 2's complement).
  74.  */
  75.  
  76. #define SMALLEST_INT                (-2147483648)
  77. #define S_SMALLEST_INT              "2147483648"      /* note: no '-' sign */
  78. #define S_SMALLEST_INT_LEN          10
  79.  
  80. /*
  81.  * Define LONG_IS_BIGGER is sizeof( long ) != sizeof( int )
  82.  */
  83. #undef LONG_IS_BIGGER
  84.  
  85.